<form action="{:url()}" method="post" class="form_single">
    <div class="box" >
      <div class="box-body">
        <div class="row">
          <div class="col-md-6">
            <div class="form-group">
              <label>{$fields.name}</label>
              <input  onpaste="return false" oncontextmenu="return false" oncopy="return false" oncut="return false" class="form-control" name="name"  placeholder="请输入{$fields.name}"  value="{$info['name']|default=''}" type="text" {if condition="isPowerCol('name')  eq false"}readonly {else /}{/if} >
            </div>
          </div>
            
          <div class="col-md-6">
            <div class="form-group">
              <label>{$fields.category_id}</label>
                <select name="category_id"  {if condition="isPowerCol('category_id') eq false"}readonly{/if}   class="form-control" oncontextmenu="return false" oncopy="return false" oncut="return false" >
                    {volist name='article_category_list' id='vo'}
                        <option value="{$vo['id']}"  {if condition="isPowerCol('category_id') eq false"}disabled{/if}  {notempty name="info['category_id']"}{if condition="$info['category_id'] eq $vo['id']"} selected="selected" {/if}{/notempty} >{$vo['name']}</option>
                    {/volist}
                </select>
            </div>
          </div>
            
          <div class="col-md-6">
            <div class="form-group">
                <label>{$fields.phone}</label>
               <!-- <span class="">（数据描述信息/简介）</span>-->
                <input oncontextmenu="return false" oncopy="return false" oncut="return false"  class="form-control" name="phone" {if condition="isPowerCol('phone')  eq false "}readonly{/if} placeholder="请输入{$fields.phone}" value="{$info['phone']|default=''}" type="text">
               <!-- <textarea class="form-control" name="describe" rows="3" placeholder="请输入数据描述信息/简介">{$info['describe']|default=''}</textarea>-->
            </div>
          </div>

          <div class="col-md-6">
            <div class="form-group">
                <label>{$fields.operator}</label>
                <br/>
                <input  oncontextmenu="return false" oncopy="return false" oncut="return false" class="form-control"  name="operator" placeholder="请输入{$fields.operator}" {if condition="!isPowerCol('operator')"}readonly{/if} value="{$info['operator']|default=''}" type="text">
            </div>
          </div>
            
          <div class="col-md-6">
            <div class="form-group">
                <label>{$fields.product}</label>
                <br/>
                <textarea  oncontextmenu="return false" {if condition="!isPowerCol('operator')"}readonly{/if}  oncopy="return false" oncut="return false" class="form-control" name="product" rows="3" placeholder="请输入{$fields.product}">{$info['product']|default=''}</textarea>
                
            </div>
          </div>
          <div class="col-md-6">
          <div class="form-group">
          <label>{$fields.describe}</label>
          <br/>
          <textarea  oncontextmenu="return false" oncopy="return false" oncut="return false" class="form-control" name="describe" rows="3" placeholder="请输入{$fields.describe}"  {if condition="!isPowerCol('describe')"}readonly{/if} >{$info['describe']|default=''}</textarea>

          </div>
          </div>
            
       <!--   <div class="col-md-6">
            <div class="form-group">
                <label>附件</label>
                <span class="">（数据可下载附件）</span>
                <br/>
                {assign name="file_id" value="$info.file_id|default='0'" /}
                {:widget('file/index', ['name' => 'file_id', 'value' => $file_id, 'type' => 'file'])}
            </div>
          </div>-->
            <div class="col-md-12">
                <div class="form-group">
                    <label>{$fields.identification}</label>
                    <input  oncontextmenu="return false" oncopy="return false" oncut="return false" class="form-control textarea_editor" name="identification" placeholder="请输入{$fields.identification}" value="{$info['identification']|default=''}"  {if condition="!isPowerCol('identification')"}readonly{/if}>
                </div>
            </div>

          <div class="col-md-6" {if condition="!isPowerCol('province')"}hidden{/if}>
              <div class="form-group" >
                  <label>{$fields.province}/{$fields.city}/{$fields.county}</label>
                  <p>
                     <input type="text" name="province"  value="{:getProvice($info['province'])}"   placeholder="请输入省份~">
                     <input name="city" value="{:getProvice($info['city'])}"  placeholder="请输入城市~" type="text">
                     <input name="county" value="{:getProvice($info['county'])}"  placeholder="请输入区县~" type="text">
                  </p>
              </div>
          </div>
          <div class="col-md-6">
              <div class="form-group">
                  <label>{$fields.hometown}</label>
                  <input  oncontextmenu="return false" oncopy="return false" oncut="return false" class="form-control" name="hometown" placeholder="请输入{$fields.hometown}" value="{$info['hometown']|default=''}"  {if condition="!isPowerCol('hometown')"}readonly{/if} type="text">
              </div>
          </div>
          <div class="col-md-12">
              <div class="form-group">
                  <label>{$fields.street}</label>
                  <span class="">（村组/街道）</span>
                  <textarea   oncontextmenu="return false" oncopy="return false" oncut="return false" class="form-control textarea_editor" name="street" placeholder="请输入{$fields.street}"  {if condition="!isPowerCol('street')"}readonly{/if}>{$info['street']|default=''}</textarea>
              </div>
          </div>
        </div>
        </div>
        
      <div class="box-footer">
          
        <input type="hidden" name="id" value="{$info['id']|default='0'}"/>
        
        {include file="layout/edit_btn_group"/}
        
      </div>


      </div>
</form>